// GroupData
//
// This class represents the whiteboard space for one customer group.
// It will be protected by a monitor and will be used by a customer group
// to aggregate data and make decisions.
//

#include "TicketStub.h"

// Initialize the TicketStub object
TicketStub::TicketStub() {
	numTickets = 0;
	theaterID = 0;
}

// Initialize the TicketStub object
TicketStub::TicketStub(int num, int ID) {
	numTickets = num;
	theaterID = ID;
}

// De-allocate bitmap 
TicketStub::~TicketStub() {
}		

// returns number of tickets
int TicketStub::getNumTickets() {
	return numTickets;
}
// returns theater ID		
int TicketStub::getTheaterID() {
	return theaterID;
}		

// number of tickets
void TicketStub::setNumTickets(int num) {
	this->numTickets = num;
}
// theater number
void TicketStub::setTheaterID(int tID) {
	this->theaterID = tID;
}
